package com.hspedu.extend_.improve_;

import com.hspedu.extend_.ExtendsDetail;
import com.hspedu.extend_.Pupil;

public class Extend01 {
    public static void main(String[] args) {
        com.hspedu.extend_.Pupil pupil = new Pupil();
        pupil.age = 12;
        pupil.name="小小明";
        pupil.testing();
        pupil.setScore(90);
        pupil.showInfo();

        ExtendsDetail.Graduate graduate = new ExtendsDetail.Graduate();
        graduate.name="大大明";
        graduate.age = 20;
        graduate.setScore(80);
        graduate.testing();
        graduate.showInfo();
    }
}
